]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionSystem: Remove duplciated version check
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 28 Oct 2011 19:47:51 +0000 (15:47 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 28 Oct 2011 20:12:52 +0000 (16:12 -0400)
This piece of accidentally duplicated code made sure that the OUT_OF_DATE
status was never set.

https://bugzilla.gnome.org/show_bug.cgi?id=662967

js/ui/extensionSystem.js

index f70aecde938e3e26ea9eac3f449b12fcff68c443..a1fdbdefe99c7404ddd3a44a5092bb4699941d1a 100644 (file)
@@ -346,12 +346,6 @@ function loadExtension(dir, type, enabled) {
         return;
     }
 
-    if (!versionCheck(meta['shell-version'], Config.PACKAGE_VERSION) ||
-        (meta['js-version'] && !versionCheck(meta['js-version'], Config.GJS_VERSION))) {
-        logExtensionError(uuid, 'extension is not compatible with current GNOME Shell and/or GJS version');
-        return;
-    }
-
     extensionMeta[uuid] = meta;
     meta.type = type;
     meta.dir = dir;